package com.hourse.app.vo.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @作者：lichenguang
 * @描述：【获取历史交易记录返回VO】
 * @创建：2022/1/23 1:03
 */
@Data
@ApiModel(value = "行情-获取历史交易记录返回数据")
public class PublicDealRetVo {

  @ApiModelProperty(value = "交易时间（时间戳）")
  private String date;

  @ApiModelProperty(value = "交易价格")
  private String price;

  @ApiModelProperty(value = "交易数量")
  private String amount;


  @ApiModelProperty(value = "交易类型，buy（买）、sell（卖）ID")
  private String type;

  public PublicDealRetVo(String date, String price, String amount, String type) {
    this.date = date;
    this.price = price;
    this.amount = amount;
    this.type = type;
  }
}
